﻿<script src="~/Scripts/jquery-easyui-extensions/combobox/jeasyui.extensions.combobox.autoComplete.js"></script>

<div class="easyui-panel" data-options="fit:true,border:false" style="padding:20px;">
    <input id="combobox1" type="text" value="" />
</div>
<script>
    $(function () {
        var data = [
            { value: "1", text: "蜘蛛侠" },
            { value: "2", text: "蝙蝠侠" },
            { value: "3", text: "钢铁侠" },
            { value: "4", text: "神奇四侠" },
            { value: "5", text: "接盘侠" }
        ];
        $("#combobox1").combobox({
            valueField: "value",
            textField: "text",
            data: data,
            multiple: false,
            editable: true
        });

    });
</script>
